package com.cb.admin.controllers;
//package com.cb.web;
//
//import java.util.List;
//
//import org.apache.log4j.Logger;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
//import org.apache.shiro.authz.annotation.RequiresRoles;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import com.cb.domain.BankAccount;
//import com.cb.domain.SysInfor;
//import com.cb.service.IBankAccountService;
//
//@Controller
//@RequestMapping("/sysInfor")
//public class SysInforController extends BaseController{
//	
//	@Autowired
//	private IBankAccountService userService;
//
//	private static Logger logger = Logger.getLogger(SysInforController.class.getName());
//	
//	@RequestMapping("/show")
//	public String show(SysInfor sysInfor) {
//		return "sysInfoList";
//	}
//	
//	@RequestMapping("/createUser")
//    @ResponseBody
//    @RequiresRoles("admin")//访客模式
//    public String createUser() {
//    	userService.create(null);
//        return "ok";
//    }
//    
//    @RequestMapping(path = "/getList", method = RequestMethod.GET)
//    @ResponseBody
//    @RequiresRoles("admin")//访客模式
//    @RequiresPermissions("admin:admin")
//    public List<BankAccount> findByName(String account) {
//    	List<BankAccount> objlis = userService.findByName(account);
//        return objlis;
//    }
//}